*********************************************************************************************************
* UNEASY LIES THE CROWN: External Threats to Religious Legitimacy and Interstate Dispute Militarization *
*********************************************************************************************************

* Harvard Dataverse DOI: https://doi.org/10.7910/DVN/IWXIDL
* AUTHORS: Ariel Zellman (ariel.zellman@biu.ac.il) and Davis Brown (davis_brown@msn.com)

**************************************
* TABLE 1 - FIRTH LOGITS, INITIATION *
**************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog save(uneasy-lies-replication.doc) nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) replace

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table 1. Religion and Territorial Claims - 1870-2001, Initiation) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table 1. Religion and Territorial MIDs - 1975-2001, Initiation) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1#c.salintc dyad_prefgrp_grp_tc_min1#c.salintt dyad_prefgrp_grp_tc_min1#c.saltan dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*******************************************************
* Point Estimate Graphs on Marginal Effects, FIGURE 2 *  
*******************************************************

use "uneasy-lies-icow-1812-2001.dta", clear

firthlogit midissyr i.dyad_prefgrp_grp_tc_min1 i.dyad_prefgrp_grp_tc_min1#c.salintc i.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy i.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 i.dyad_prefgrp_grp_tc_min1#c.salintt i.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy i.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 i.dyad_prefgrp_grp_tc_min1#c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog

estimates store mid_int

margins dyad_prefgrp_grp_tc_min1, dydx(statea_grp_max_tc_min1_l1 b_a_prefgrp_tc_min_l1) post

estimates store margin_mid_int

firthlogit midfatyr i.dyad_prefgrp_grp_tc_min1 i.dyad_prefgrp_grp_tc_min1#c.salintc i.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy i.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 i.dyad_prefgrp_grp_tc_min1#c.salintt i.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy i.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 i.dyad_prefgrp_grp_tc_min1#c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog

estimates store midfat_int

margins dyad_prefgrp_grp_tc_min1, dydx(statea_grp_max_tc_min1_l1 b_a_prefgrp_tc_min_l1) post

estimates store margin_midfat_int

estwrite * using uneasy-lies-interacted.sters

coefplot (margin_mid_int, keep(statea_grp_max_tc_min1_l1:0.dyad_prefgrp_grp_tc_min1))(margin_mid_int, keep(b_a_prefgrp_tc_min_l1:0.dyad_prefgrp_grp_tc_min1))(margin_mid_int, keep(statea_grp_max_tc_min1_l1:1.dyad_prefgrp_grp_tc_min1))(margin_mid_int, keep(b_a_prefgrp_tc_min_l1:1.dyad_prefgrp_grp_tc_min1)), bylabel("Territorial MID")||(margin_midfat_int, keep(statea_grp_max_tc_min1_l1:0.dyad_prefgrp_grp_tc_min1))(margin_midfat_int, keep(b_a_prefgrp_tc_min_l1:0.dyad_prefgrp_grp_tc_min1))(margin_midfat_int, keep(statea_grp_max_tc_min1_l1:1.dyad_prefgrp_grp_tc_min1))(margin_midfat_int, keep(b_a_prefgrp_tc_min_l1:1.dyad_prefgrp_grp_tc_min1)), bylabel("Fatal Territorial MID") subtitle(, size(*2.5)) xline(0) legend(rows(1)) byopts(cols(3)) coeflabels(0.dyad_prefgrp_grp_tc_min1 = "Mixed Religion Dyad" 1.dyad_prefgrp_grp_tc_min1 = "Shared Religion Dyad" statea_grp_max_tc_min1_l1:0.dyad_prefgrp_grp_tc_min1 = "Chal GRP") ysize(1) xsize(3) ylabel(,labsize(*2.5)) xlabel(,labsize(*2.5))

**************************************
* Predictive Margins Graph, FIGURE 3 *  
**************************************

use "uneasy-lies-icow-1812-2001.dta", clear

firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog

margins dyad_prefgrp_grp_tc_min1, at(statea_grp_max_tc_min1_l1=(0(1)4)) expression(invlogit(predict(xb))) post

estimates store mid_int_statea_margin

firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog

margins dyad_prefgrp_grp_tc_min1, at(b_a_prefgrp_tc_min_l1=(0(1)4)) expression(invlogit(predict(xb))) post

estimates store mid_int_stateb_margin

firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog

margins dyad_prefgrp_grp_tc_min1, at(statea_grp_max_tc_min1_l1=(0(1)4)) expression(invlogit(predict(xb))) post

estimates store midfat_int_statea_margin

firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog

margins dyad_prefgrp_grp_tc_min1, at(b_a_prefgrp_tc_min_l1=(0(1)4)) expression(invlogit(predict(xb))) post

estimates store midfat_int_stateb_margin

estwrite * using uneasy-lies-interacted-predict.sters

coefplot (mid_int_statea_margin, keep(*._at#0.dyad_prefgrp_grp_tc_min1) label(Challenger GRP) offset(0.001))(mid_int_stateb_margin, keep(*._at#0.dyad_prefgrp_grp_tc_min1) label(Target GRP) offset(-0.001))(mid_int_statea_margin, keep(*._at#1.dyad_prefgrp_grp_tc_min1) label(Challenger GRP) offset(0.001))(mid_int_stateb_margin, keep(*._at#1.dyad_prefgrp_grp_tc_min1) label(Target GRP) offset(-0.001)), bylabel("Territorial MIDs")||(midfat_int_statea_margin, keep(*._at#0.dyad_prefgrp_grp_tc_min1) label(Challenger GRP) offset(0.001))(midfat_int_stateb_margin, keep(*._at#0.dyad_prefgrp_grp_tc_min1) label(Target GRP) offset(-0.001))(midfat_int_statea_margin, keep(*._at#1.dyad_prefgrp_grp_tc_min1) label(Challenger GRP) offset(0.001))(midfat_int_stateb_margin, keep(*._at#1.dyad_prefgrp_grp_tc_min1) label(Target GRP) offset(-0.001)), bylabel("Fatal Territorial MIDs") vertical xline(5.5, lcolor(black)) byopts(cols(1)) xtitle(GRP Score - Challenger Dominant Religion) ytitle(Probability of Event) recast(line) lwidth(*2) ciopts(recast(rarea)) offset(0) graphregion(color(white)) bgcolor(white) xlabel( 1 "0" 2 "1" 3 "2" 4 "3" 5 "4" 6 "0" 7 "1" 8 "2" 9 "3" 10 "4") legend(order(2 6 4 8) title("Mixed Religion Dyads v. Shared Religion Dyads"))

************************************
* UNEASY LIES THE CROWN - APPENDIX *
************************************

****************************************************
* TABLE A1 - FIRTH LOGITS, INITIATION, NO SALIENCE *
****************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog save(uneasy-lies-initiation-appendix.doc) nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) replace

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A1. Religion and Territorial Claims - 1870-2001, No Salience) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A1. Religion and Territorial MIDs - 1870-2001, No Salience) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*****************************************************
* TABLE A2 - FIRTH LOGITS, INITIATION, with Durable *
*****************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 statea_durable_p4 stateb_durable_p4 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.statea_durable_p4 dyad_prefgrp_grp_tc_min1##c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A2. Religion and Territorial Claims - 1870-2001, Polity IV Regime Durability) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy statea_durable_p4 stateb_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 statea_durable_p4 stateb_durable_p4 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan dyad_prefgrp_grp_tc_min1##c.statea_durable_p4 dyad_prefgrp_grp_tc_min1##c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 statea_durable_p4 stateb_durable_p4 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan dyad_prefgrp_grp_tc_min1##c.statea_durable_p4 dyad_prefgrp_grp_tc_min1##c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A2. Religion and Territorial MIDs - 1870-2001, Polity IV Regime Durability) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy statea_durable_p4 stateb_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append


*************************************************
* TABLE A3 - FIRTH LOGITS, initiation, POLITYIV *
*************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_polity2 statea_grp_max_tc_min1_l1 stateb_polity2 b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_polity2 dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_polity2 dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A3. Religion and Territorial Claims - 1870-2001, Polity2 Democracy) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_polity2 stateb_polity2 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_polity2 1.dyad_prefgrp_grp_tc_min1#c.stateb_polity2 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_polity2 statea_grp_max_tc_min1_l1 salintt stateb_polity2 b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_polity2 dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_polity2 dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_polity2 statea_grp_max_tc_min1_l1 salintt stateb_polity2 b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_polity2 dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_polity2 dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A3. Religion and Territorial MIDs - 1870-2001, Polity2 Democracy) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_polity2 stateb_polity2 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_polity2 1.dyad_prefgrp_grp_tc_min1#c.stateb_polity2 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*************************************************************
* TABLE A4 - FIRTH LOGITS, INITIATION, POLITY2 with Durable *
*************************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_polity2 statea_grp_max_tc_min1_l1 stateb_polity2 b_a_prefgrp_tc_min_l1 statea_durable_p4 stateb_durable_p4 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_polity2 dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_polity2 dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.statea_durable_p4 dyad_prefgrp_grp_tc_min1##c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A4. Religion and Territorial Claims - 1870-2001, Polity2 Democracy & Regime Durability) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_polity2 stateb_polity2 statea_durable_p4 stateb_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_polity2 1.dyad_prefgrp_grp_tc_min1#c.stateb_polity2 1.dyad_prefgrp_grp_tc_min1#c.statea_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_polity2 statea_grp_max_tc_min1_l1 salintt stateb_polity2 b_a_prefgrp_tc_min_l1 statea_durable_p4 stateb_durable_p4 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_polity2 dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_polity2 dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan dyad_prefgrp_grp_tc_min1##c.statea_durable_p4 dyad_prefgrp_grp_tc_min1##c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_polity2 statea_grp_max_tc_min1_l1 salintt stateb_polity2 b_a_prefgrp_tc_min_l1 statea_durable_p4 stateb_durable_p4 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_polity2 dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_polity2 dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan dyad_prefgrp_grp_tc_min1##c.statea_durable_p4 dyad_prefgrp_grp_tc_min1##c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A4. Religion and Territorial MIDs - 1870-2001, Polity2 Democracy & Regime Durability) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_polity2 stateb_polity2 statea_durable_p4 stateb_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_polity2 1.dyad_prefgrp_grp_tc_min1#c.stateb_polity2 1.dyad_prefgrp_grp_tc_min1#c.statea_durable_p4 1.dyad_prefgrp_grp_tc_min1#c.stateb_durable_p4 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append



**************************************
* TABLE A5 - FIRTH LOGITS, PROXIMITY *
**************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A5. Religion and Territorial Claims - 1870-2001, with Proximity) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO ln_km t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO ln_km t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A5. Religion and Territorial MIDs - 1870-2001, with Proximity) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append


***********************************
* TABLE A6 - FIRTH LOGITS, NO IGO *
***********************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A6. Religion and Territorial Claims - 1870-2001, without IGO count) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A6. Religion and Territorial MIDs - 1870-2001, without IGO count) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*************************************
* TABLE A7 - FIRTH LOGITS, NO TRADE *
*************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A7. Religion and Territorial Claims - 1816-2001, without trade reciprocity) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A7. Religion and Territorial MIDs - 1816-2001, without trade reciprocity) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*****************************************
* TABLE A8 - FIRTH LOGITS, POLREL DYADS *
*****************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 if dyad_polrel_ext_hist==1|dyad_in_icow==1, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 if dyad_polrel_ext_hist==1|dyad_in_icow==1, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A8. Religion and Territorial Claims - 1870-2001, Politically Relevant Dyads with colonial & historical continuity) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

*************************************************
* TABLE A9 - FIRTH LOGITS, MAJOR RELIGIONS ONLY *
*************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_t1_l1 stateb_v2x_polyarchy b_a_prefgrp_t1_l1 dyad_prefgrp_grp_t1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_t1 dyad_prefgrp_grp_t1##c.statea_v2x_polyarchy dyad_prefgrp_grp_t1##c.statea_grp_max_t1_l1 dyad_prefgrp_grp_t1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_t1##c.b_a_prefgrp_t1_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A9. Religion and Territorial Claims - 1870-2001, Major Religions Only) keep(dyad_prefgrp_grp_t1 c.statea_grp_max_t1_l1 c.b_a_prefgrp_t1_l1 statea_v2x_polyarchy stateb_v2x_polyarchy dyad_prefgrp_grp_t1#c.statea_grp_max_t1_l1 dyad_prefgrp_grp_t1#c.b_a_prefgrp_t1_l1 dyad_prefgrp_grp_t1#c.statea_v2x_polyarchy dyad_prefgrp_grp_t1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_grp_max_t1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_t1_l1 saltan dyad_prefgrp_grp_t1 cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_prefgrp_grp_t1 dyad_prefgrp_grp_t1##c.salintc dyad_prefgrp_grp_t1##c.statea_v2x_polyarchy dyad_prefgrp_grp_t1##c.statea_grp_max_t1_l1 dyad_prefgrp_grp_t1##c.salintt dyad_prefgrp_grp_t1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_t1##c.b_a_prefgrp_t1_l1 dyad_prefgrp_grp_t1##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_grp_max_t1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_t1_l1 saltan dyad_prefgrp_grp_t1 cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_prefgrp_grp_t1 dyad_prefgrp_grp_t1##c.salintc dyad_prefgrp_grp_t1##c.statea_v2x_polyarchy dyad_prefgrp_grp_t1##c.statea_grp_max_t1_l1 dyad_prefgrp_grp_t1##c.salintt dyad_prefgrp_grp_t1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_t1##c.b_a_prefgrp_t1_l1 dyad_prefgrp_grp_t1##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A9. Religion and Territorial MIDs - 1975-2001, Major Religions Only) keep(dyad_prefgrp_grp_t1 c.statea_grp_max_t1_l1 c.b_a_prefgrp_t1_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy dyad_prefgrp_grp_t1#c.statea_grp_max_t1_l1 dyad_prefgrp_grp_t1#c.b_a_prefgrp_t1_l1 dyad_prefgrp_grp_t1#c.salintc dyad_prefgrp_grp_t1#c.salintt dyad_prefgrp_grp_t1#c.saltan dyad_prefgrp_grp_t1#c.statea_v2x_polyarchy dyad_prefgrp_grp_t1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

************************************************
* TABLE A10 - FIRTH LOGITS, MAJORITY RELIGIONS *
************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_majgrp_grp_tc_min_l1 stateb_v2x_polyarchy b_a_majgrp_tc_min_l1 dyad_majrel_grp_tc_min cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_majrel_grp_tc_min dyad_majrel_grp_tc_min##c.statea_v2x_polyarchy dyad_majrel_grp_tc_min##c.statea_majgrp_grp_tc_min_l1 dyad_majrel_grp_tc_min##c.stateb_v2x_polyarchy dyad_majrel_grp_tc_min##c.b_a_majgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A10. Religion and Territorial Claims - 1870-2001, Majority Religions) keep(dyad_majrel_grp_tc_min c.statea_majgrp_grp_tc_min_l1 c.b_a_majgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_majrel_grp_tc_min#c.statea_majgrp_grp_tc_min_l1 1.dyad_majrel_grp_tc_min#c.b_a_majgrp_tc_min_l1 1.dyad_majrel_grp_tc_min#c.statea_v2x_polyarchy 1.dyad_majrel_grp_tc_min#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_majgrp_grp_tc_min_l1 salintt stateb_v2x_polyarchy b_a_majgrp_tc_min_l1 saltan dyad_majrel_grp_tc_min cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_majrel_grp_tc_min dyad_majrel_grp_tc_min##c.salintc dyad_majrel_grp_tc_min##c.statea_v2x_polyarchy dyad_majrel_grp_tc_min##c.statea_majgrp_grp_tc_min_l1 dyad_majrel_grp_tc_min##c.salintt dyad_majrel_grp_tc_min##c.stateb_v2x_polyarchy dyad_majrel_grp_tc_min##c.b_a_majgrp_tc_min_l1 dyad_majrel_grp_tc_min##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_majgrp_grp_tc_min_l1 salintt stateb_v2x_polyarchy b_a_majgrp_tc_min_l1 saltan dyad_majrel_grp_tc_min cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_majrel_grp_tc_min dyad_majrel_grp_tc_min##c.salintc dyad_majrel_grp_tc_min##c.statea_v2x_polyarchy dyad_majrel_grp_tc_min##c.statea_majgrp_grp_tc_min_l1 dyad_majrel_grp_tc_min##c.salintt dyad_majrel_grp_tc_min##c.stateb_v2x_polyarchy dyad_majrel_grp_tc_min##c.b_a_majgrp_tc_min_l1 dyad_majrel_grp_tc_min##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A10. Religion and Territorial MIDs - 1870-2001, Majority Religions) keep(dyad_majrel_grp_tc_min c.statea_majgrp_grp_tc_min_l1 c.b_a_majgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_majrel_grp_tc_min#c.statea_majgrp_grp_tc_min_l1 1.dyad_majrel_grp_tc_min#c.b_a_majgrp_tc_min_l1 1.dyad_majrel_grp_tc_min#c.salintc 1.dyad_majrel_grp_tc_min#c.salintt 1.dyad_majrel_grp_tc_min#c.saltan 1.dyad_majrel_grp_tc_min#c.statea_v2x_polyarchy 1.dyad_majrel_grp_tc_min#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*************************************************
* TABLE A11 - FIRTH LOGITS, PLURALITY RELIGIONS *
*************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_plurgrp_grp_tc_min_l1 stateb_v2x_polyarchy b_a_plurgrp_tc_min_l1 dyad_plurrel_grp_tc_min cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_plurrel_grp_tc_min dyad_plurrel_grp_tc_min##c.statea_v2x_polyarchy dyad_plurrel_grp_tc_min##c.statea_plurgrp_grp_tc_min_l1 dyad_plurrel_grp_tc_min##c.stateb_v2x_polyarchy dyad_plurrel_grp_tc_min##c.b_a_plurgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A11. Religion and Territorial Claims - 1870-2001, Plurality Religions) keep(dyad_plurrel_grp_tc_min c.statea_plurgrp_grp_tc_min_l1 c.b_a_plurgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_plurrel_grp_tc_min#c.statea_plurgrp_grp_tc_min_l1 1.dyad_plurrel_grp_tc_min#c.b_a_plurgrp_tc_min_l1 1.dyad_plurrel_grp_tc_min#c.statea_v2x_polyarchy 1.dyad_plurrel_grp_tc_min#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_plurgrp_grp_tc_min_l1 salintt stateb_v2x_polyarchy b_a_plurgrp_tc_min_l1 saltan dyad_plurrel_grp_tc_min cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr dyad_plurrel_grp_tc_min dyad_plurrel_grp_tc_min##c.salintc dyad_plurrel_grp_tc_min##c.statea_v2x_polyarchy dyad_plurrel_grp_tc_min##c.statea_plurgrp_grp_tc_min_l1 dyad_plurrel_grp_tc_min##c.salintt dyad_plurrel_grp_tc_min##c.stateb_v2x_polyarchy dyad_plurrel_grp_tc_min##c.b_a_plurgrp_tc_min_l1 dyad_plurrel_grp_tc_min##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_plurgrp_grp_tc_min_l1 salintt stateb_v2x_polyarchy b_a_plurgrp_tc_min_l1 saltan dyad_plurrel_grp_tc_min cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr dyad_plurrel_grp_tc_min dyad_plurrel_grp_tc_min##c.salintc dyad_plurrel_grp_tc_min##c.statea_v2x_polyarchy dyad_plurrel_grp_tc_min##c.statea_plurgrp_grp_tc_min_l1 dyad_plurrel_grp_tc_min##c.salintt dyad_plurrel_grp_tc_min##c.stateb_v2x_polyarchy dyad_plurrel_grp_tc_min##c.b_a_plurgrp_tc_min_l1 dyad_plurrel_grp_tc_min##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A11. Religion and Territorial MIDs - 1870-2001, Plurality Religions) keep(dyad_plurrel_grp_tc_min c.statea_plurgrp_grp_tc_min_l1 c.b_a_plurgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_plurrel_grp_tc_min#c.statea_plurgrp_grp_tc_min_l1 1.dyad_plurrel_grp_tc_min#c.b_a_plurgrp_tc_min_l1 1.dyad_plurrel_grp_tc_min#c.salintc 1.dyad_plurrel_grp_tc_min#c.salintt 1.dyad_plurrel_grp_tc_min#c.saltan 1.dyad_plurrel_grp_tc_min#c.statea_v2x_polyarchy 1.dyad_plurrel_grp_tc_min#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

*****************************************************
* TABLE A12 - FIRTH LOGITS, PLURALITY-MAJORITY RELS *
*****************************************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_plurgrp_grp_tc_min_l1 stateb_v2x_polyarchy b_a_plurgrp_tc_min_l1 i.dyad_plurmaj_grp_tc_min cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow i.dyad_plurmaj_grp_tc_min i.dyad_plurmaj_grp_tc_min##c.statea_v2x_polyarchy i.dyad_plurmaj_grp_tc_min##c.statea_plurgrp_grp_tc_min_l1 i.dyad_plurmaj_grp_tc_min##c.stateb_v2x_polyarchy i.dyad_plurmaj_grp_tc_min##c.b_a_plurgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A12. Religion and Territorial Claims - 1870-2001, Plurality-Majority Religions) keep(i.dyad_plurmaj_grp_tc_min c.statea_plurgrp_grp_tc_min_l1 c.b_a_plurgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy i.dyad_plurmaj_grp_tc_min#c.statea_plurgrp_grp_tc_min_l1 i.dyad_plurmaj_grp_tc_min#c.b_a_plurgrp_tc_min_l1 i.dyad_plurmaj_grp_tc_min#c.statea_v2x_polyarchy i.dyad_plurmaj_grp_tc_min#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit midissyr salintc statea_v2x_polyarchy statea_plurgrp_grp_tc_min_l1 salintt stateb_v2x_polyarchy b_a_plurgrp_tc_min_l1 saltan i.dyad_plurmaj_grp_tc_min cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit midissyr i.dyad_plurmaj_grp_tc_min i.dyad_plurmaj_grp_tc_min##c.salintc i.dyad_plurmaj_grp_tc_min##c.statea_v2x_polyarchy i.dyad_plurmaj_grp_tc_min##c.statea_plurgrp_grp_tc_min_l1 i.dyad_plurmaj_grp_tc_min##c.salintt i.dyad_plurmaj_grp_tc_min##c.stateb_v2x_polyarchy i.dyad_plurmaj_grp_tc_min##c.b_a_plurgrp_tc_min_l1 i.dyad_plurmaj_grp_tc_min##c.saltan cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr salintc statea_v2x_polyarchy statea_plurgrp_grp_tc_min_l1 salintt stateb_v2x_polyarchy b_a_plurgrp_tc_min_l1 saltan i.dyad_plurmaj_grp_tc_min cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) append

asdoc firthlogit midfatyr i.dyad_plurmaj_grp_tc_min i.dyad_plurmaj_grp_tc_min##c.salintc i.dyad_plurmaj_grp_tc_min##c.statea_v2x_polyarchy i.dyad_plurmaj_grp_tc_min##c.statea_plurgrp_grp_tc_min_l1 i.dyad_plurmaj_grp_tc_min##c.salintt i.dyad_plurmaj_grp_tc_min##c.stateb_v2x_polyarchy i.dyad_plurmaj_grp_tc_min##c.b_a_plurgrp_tc_min_l1 i.dyad_plurmaj_grp_tc_min##c.saltan cinc_share s_wt_atop trade_sum IGO t_midfat_int t_midfat_int2 t_midfat_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A12. Religion and Territorial MIDs - 1870-2001, Plurality-Majority Religions) keep(i.dyad_plurmaj_grp_tc_min c.statea_plurgrp_grp_tc_min_l1 c.b_a_plurgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy i.dyad_plurmaj_grp_tc_min#c.statea_plurgrp_grp_tc_min_l1 i.dyad_plurmaj_grp_tc_min#c.b_a_plurgrp_tc_min_l1 i.dyad_plurmaj_grp_tc_min#c.salintc i.dyad_plurmaj_grp_tc_min#c.salintt i.dyad_plurmaj_grp_tc_min#c.saltan i.dyad_plurmaj_grp_tc_min#c.statea_v2x_polyarchy i.dyad_plurmaj_grp_tc_min#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_mid_int t_mid_int2 t_mid_int3 t_midfat_int t_midfat_int2 t_midfat_int3 _cons) append

**********************************
* TABLE A13 - FIRTH LOGITS, WARS *
**********************************

use "uneasy-lies-pol-active-dyads-1812-2001.dta", clear

asdoc firthlogit terrclaim_icow statea_v2x_polyarchy statea_grp_max_tc_min1_l1 stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit terrclaim_icow dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A13. Religion and Territorial Claims - 1870-2001) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO ln_km t_icowclaim_int t_icowclaim_int2 t_icowclaim_int3 _cons) append

use "uneasy-lies-icow-1812-2001.dta", clear

asdoc firthlogit waryr salintc statea_v2x_polyarchy statea_grp_max_tc_min1_l1 salintt stateb_v2x_polyarchy b_a_prefgrp_tc_min_l1 saltan dyad_prefgrp_grp_tc_min1 cinc_share s_wt_atop trade_sum IGO t_war_int t_war_int2 t_war_int3, nolog nested dec(3) tzok setstars(***@0.001, **@0.01, *@0.05) fs(10) font(CMU Serif) stat(ll chi2 p) reset

asdoc firthlogit waryr dyad_prefgrp_grp_tc_min1 dyad_prefgrp_grp_tc_min1##c.salintc dyad_prefgrp_grp_tc_min1##c.statea_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.statea_grp_max_tc_min1_l1 dyad_prefgrp_grp_tc_min1##c.salintt dyad_prefgrp_grp_tc_min1##c.stateb_v2x_polyarchy dyad_prefgrp_grp_tc_min1##c.b_a_prefgrp_tc_min_l1 dyad_prefgrp_grp_tc_min1##c.saltan cinc_share s_wt_atop trade_sum IGO t_war_int t_war_int2 t_war_int3, nolog nested dec(3) tzok stat(ll chi2 p) title(Table A13. Religion and Territorial Wars - 1870-2001) keep(dyad_prefgrp_grp_tc_min1 c.statea_grp_max_tc_min1_l1 c.b_a_prefgrp_tc_min_l1 salintc salintt saltan statea_v2x_polyarchy stateb_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.statea_grp_max_tc_min1_l1 1.dyad_prefgrp_grp_tc_min1#c.b_a_prefgrp_tc_min_l1 1.dyad_prefgrp_grp_tc_min1#c.salintc 1.dyad_prefgrp_grp_tc_min1#c.salintt 1.dyad_prefgrp_grp_tc_min1#c.saltan 1.dyad_prefgrp_grp_tc_min1#c.statea_v2x_polyarchy 1.dyad_prefgrp_grp_tc_min1#c.stateb_v2x_polyarchy cinc_share s_wt_atop trade_sum IGO t_war_int t_war_int2 t_war_int3 _cons) append
